<#assign parameters = tag.parameters/>
<select <#rt/> multiple="multiple" data-toggle="multiSelect"
               name="${parameters.realName?default(parameters.id)?html}"<#rt/>
<#if parameters.id?has_content> id="${parameters.id?html}"<#rt/></#if>
<#if placeholder??>
               placeholder="${placeholder?html}"<#rt/>
<#else>
    <#if parameters.placeholder??>
               laceholder="${parameters.placeholder?html}"<#rt/>
    </#if>
</#if>
>

<#if parameters.itemValue?exists>
    <#assign valus = parameters.itemValue/>
</#if>
<#if itemValue??>
    <#assign valus = itemValue/>
</#if>
<#if valus??>
    <#list valus?keys as key>
        <option value="${key}"<#rt/>
            <#if inputValue??><#if inputValue?contains(key) > selected="selected"<#rt/></#if>
            </#if>><#rt/>${valus[key]}<#t/>
        </option><#lt/>
    </#list>
</#if>
</select>